package com.dungeon.game;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.LinearLayout;

public class BossLayout extends LinearLayout {

	boolean blocking;
	
	public BossLayout(Context context) {
		super(context);
		init();
		blocking = false;
	}

	public BossLayout(Context context, AttributeSet attrs) {
		super(context, attrs);
		init();
		blocking = false;
	}

	public BossLayout(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs);
		init();
		blocking = false;
	}

	void init(){
	}
	
	public boolean onInterceptHoverEvent (MotionEvent event){
		if (blocking){
			return true;
		} else {
			return false;
		}
	}
	
	protected void onDraw(Canvas canvas) {
		super.onDraw(canvas);
	}
}
